package com.zhanghp.demo01;

/**
 * @author zhanghp
 * @date 2022-08-26 14:16
 */
public class App {
    public static void main(String[] args) {
        Child child = new Child();
        child.add(new Father());
        child.add(new Mother());

        child.changeAction();
        child.changeAction();
        child.changeAction();
    }
}
